<form action="<?php echo $this->action; ?>" method="get" id=id="frm_<?php echo $this->validacao; ?>">
<fieldset>
<legend>Dados da consulta</legend>
<div>
<ul>
	<li><label class="description">Evento</label>
		<div>
			<input id="nmEvento" name="nmEvento" type="text" value="<?php echo $this->nmEvento;?>" class="element text large" />
			<label>Nome do evento</label>	
		</div>
		<div>
			<select name="idLocal" id="idLocal" class="element select large">
				<?php echo UtilController::getOptionLocal($this->idLocal, 1);?>
            </select>
            <p class="guidelines"><small>Selecionar local de realização do evento</small></p>
		</div>
		<p class="guidelines"><small><?php echo ModelController::getDetalheMensagem(8);?> </small></p>		
	</li>
	<li>
		<input id="btConsultar" name="btConsultar" type="submit" value="Consultar" title="Consultar evento"/>
	</li>
</ul>
</div>		
</fieldset>
		<?php if ($this->dadosConsulta != null && count($this->dadosConsulta) > 0) {
			$this->Grid($this->dadosConsulta,                 //$data
						array('Evento'      =>'nm_evento',    //$coluns
							  'Local evento'=>'ds_local',  
							  'Inicio'      =>'dt_inicial',
							  'Fim'         =>'dt_termino'),
						array('id' => 'mytable',        //$attrs
                              'class' => 'tablesorter',
                              'cellspacing' => '1',
							  'width'       => '100%'),     
						null,								//$checkBox
						array('editFunctionGet' => $this->baseUrl.'/evento/edit/id/',
							  'deleteFunctionGet'  => $this->baseUrl.'/evento/excluir/id/',
							  'checkFunctions'   => true)
						);
		 
		} ?>
</form>
	